Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(combobox): add comboBox component #454

Merged
merged 18 commits into from
Feb 29, 2024

Conversation

Tianhui-Han
Copy link
Contributor

add a comboBox with input and select, inputValue is used to filter select list item

image
image

@Tianhui-Han Tianhui-Han closed this Feb 1, 2024
@Tianhui-Han Tianhui-Han reopened this Feb 1, 2024
@cscheffauer cscheffauer added the validated If the pull request is validated automation. label Feb 1, 2024
@Tianhui-Han Tianhui-Han changed the title feat(input-select): add inputSelect component feat(combobox): add combobox component Feb 2, 2024
Copy link
Collaborator

@jor-row jor-row left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't had a super close look at the implementation/tests. I will have a closer look once these comments for manual testing/accessibility testing are addressed

@Tianhui-Han
Copy link
Contributor Author

I haven't had a super close look at the implementation/tests. I will have a closer look once these comments for manual testing/accessibility testing are addressed

Understood, once I have fixed the aforementioned issues, I will notify you. Thank you for helping with the review.

@Tianhui-Han
Copy link
Contributor Author

I haven't had a super close look at the implementation/tests. I will have a closer look once these comments for manual testing/accessibility testing are addressed

I have made modifications according to your suggestions. The unit test part is not yet complete and is still in progress.

Could you please check if the current changes meet the expectations? Thank you!

@jor-row
Copy link
Collaborator

jor-row commented Feb 21, 2024

I haven't had a super close look at the implementation/tests. I will have a closer look once these comments for manual testing/accessibility testing are addressed

I have made modifications according to your suggestions. The unit test part is not yet complete and is still in progress.

Could you please check if the current changes meet the expectations? Thank you!

Accessibility issues that I raised look good. I've left some comments about parts of the implementation. Let me know when the unit tests are done and I'll have another look

@Tianhui-Han
Copy link
Contributor Author

I haven't had a super close look at the implementation/tests. I will have a closer look once these comments for manual testing/accessibility testing are addressed

I have made modifications according to your suggestions. The unit test part is not yet complete and is still in progress.
Could you please check if the current changes meet the expectations? Thank you!

Accessibility issues that I raised look good. I've left some comments about parts of the implementation. Let me know when the unit tests are done and I'll have another look

Hey Jordan, I’ve completed these modifications and filled out the unit tests.
Could you please review it for me? Thank you very much!

Copy link
Collaborator

@jor-row jor-row left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests looking good, just a few small comments and tests to add before I can approve

@Tianhui-Han
Copy link
Contributor Author

Tests looking good, just a few small comments and tests to add before I can approve

Hey Jordan, I have made these changes, could you please review them again? Thank you for your continuous support, you are very patient!👍

Copy link
Collaborator

@jor-row jor-row left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for making all those changes! I'm approving so I'm not blocking this feature work any longer, but please make sure you export the component in src/index before merging

@@ -0,0 +1,26 @@
import {IComboboxGroup, IComboboxItem} from './Combobox.types'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small: missing semi colon at end of line

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important: you need to add Combobox as one of the exports from ./components in the file in src/index.js otherwise you won't be able to use it in Cantina properly

@Tianhui-Han
Copy link
Contributor Author

Tianhui-Han commented Feb 28, 2024

Looks good, thanks for making all those changes! I'm approving so I'm not blocking this feature work any longer, but please make sure you export the component in src/index before merging

I’ve made a small adjustment to the logic, making the interaction between selectionChange and inputValue more reasonable, and also improved the overall naming conventions.

However, it seems that I don’t have the permission to merge. Could you please help me merge it? Thank you very much!👍

@Tianhui-Han Tianhui-Han changed the title feat(combobox): add combobox component feat(combobox): add comboBox component Feb 29, 2024
@jor-row jor-row merged commit 7971f6f into momentum-design:master Feb 29, 2024
6 checks passed
Copy link

🎉 This PR is included in version 26.101.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released validated If the pull request is validated automation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants